package com.yingwei.mining.simulator;

public class TruckMemory
{
    long truckId;
    long loadEdgeId;
    long unloadEdgeId;
    public void copy(TruckMemory truckMemory)
    {
	truckId = truckMemory.truckId;
	loadEdgeId = truckMemory.loadEdgeId;
	unloadEdgeId = truckMemory.unloadEdgeId;
    }
    public TruckMemory(long truckId,long loadEdgeId,long unloadEdgeId)
    {
	this.truckId = truckId;
	this.loadEdgeId = loadEdgeId;
	this.unloadEdgeId = unloadEdgeId;
    }
    public long getTruckId()
    {
        return truckId;
    }
    public void setTruckId(long truckId)
    {
        this.truckId = truckId;
    }
    public long getLoadEdgeId()
    {
        return loadEdgeId;
    }
    public void setLoadEdgeId(long loadEdgeId)
    {
        this.loadEdgeId = loadEdgeId;
    }
    public long getUnloadEdgeId()
    {
        return unloadEdgeId;
    }
    public void setUnloadEdgeId(long unloadEdgeId)
    {
        this.unloadEdgeId = unloadEdgeId;
    }
}
